package nec.aagent.core.gcm;

import android.content.Context;

import com.google.android.gcm.GCMBroadcastReceiver;

/**
 * We want to put {@link GCMIntentService} in custom package. So we must extend
 * {@link GCMBroadcastReceiver} and override
 * GCMBroadcastReceiver.getGCMIntentServiceClassName() method
 */
public class MyGCMBroadcastReceiver extends GCMBroadcastReceiver {

    @Override
    protected String getGCMIntentServiceClassName(Context context) {
        /**
         * Return full qualify name of {@link GCMIntentService}
         */
        return GCMIntentService.class.getName();
    }

}
